﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="OrderDetail.aspx.cs" Inherits="Maticsoft.Web.Admin.Shopping.OrderDetail" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#111111"
        style="border-collapse: collapse">
        <tr>
            <td width="100%" height="20" valign="top">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td height="30">
                            <img height="14" src="../images/book1.gif" width="20">&nbsp;订单管理&nbsp;&gt;&gt;&nbsp;订单详情
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td width="100%" height="1" background="../images/sp_bg.gif">
            </td>
        </tr>
    </table>
    <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td height="10">
            </td>
        </tr>
    </table>
    <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td height="95" align="center" bgcolor="#FFFFFF">
                <table width="100%" border="0" id="needset" cellspacing="0" cellpadding="0" style="text-align: left;
                    border: 1px solid #cfcfcf; background: #ffffff;">
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            姓名：
                        </td>
                        <td class='bline leftbline'>
                            <%=ds.Tables[0].Rows[0]["Name"] %>
                        </td>
                    </tr>
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            地址：
                        </td>
                        <td class='bline leftbline'>
                            <%=ds.Tables[0].Rows[0]["pName"].ToString() + ds.Tables[0].Rows[0]["cName"].ToString() + ds.Tables[0].Rows[0]["Address"].ToString()%>
                        </td>
                    </tr>
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            邮编：
                        </td>
                        <td class='bline leftbline'>
                            <%=ds.Tables[0].Rows[0]["PostCode"] %>
                        </td>
                    </tr>
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            手机：
                        </td>
                        <td class='bline leftbline'>
                            <%=ds.Tables[0].Rows[0]["Mobile"].ToString()%>
                        </td>
                    </tr>
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            身份证号：
                        </td>
                        <td class='bline leftbline'>
                            <%=ds.Tables[0].Rows[0]["IdentityNo"].ToString()%>
                        </td>
                    </tr>
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            身份证正面：
                        </td>
                        <td class='bline leftbline'>
                            <img src="/uploadpic/identity/<%=ds.Tables[0].Rows[0]["IdentityFrontPic"].ToString() %>" width="200" />
                        </td>
                    </tr>
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            身份证反面：
                        </td>
                        <td class='bline leftbline'>
                            <img src="/uploadpic/identity/<%=ds.Tables[0].Rows[0]["IdentityBackPic"].ToString() %>" width="200" />
                        </td>
                    </tr>
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            运费：
                        </td>
                        <td class='bline leftbline'>
                            <%=decimal.Parse(ds.Tables[0].Rows[0]["DeliveryFee"].ToString()).ToString("f2")%>
                        </td>
                    </tr>
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            订单总价：
                        </td>
                        <td class='bline leftbline'>
                            <%=decimal.Parse(ds.Tables[0].Rows[0]["Total"].ToString()).ToString("f2")%>
                        </td>
                    </tr>
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            下单时间：
                        </td>
                        <td class='bline leftbline'>
                            <%=ds.Tables[0].Rows[0]["CreateTime"]%>
                        </td>
                    </tr>
                </table>
                <p style=" text-align:left">订单明细：</p>
                <table width="100%" border="0" id="Table1" cellspacing="0" cellpadding="0" style="text-align: left;
                    border: 1px solid #cfcfcf; background: #ffffff;">
                    <tr>
                        <td class='bline leftbline' height="26">
                            编号
                        </td>
                        <td class='bline leftbline' height="26">
                            产品名称
                        </td>
                        <td class='bline leftbline' height="26">
                            规格
                        </td>
                        <td width="80" class='bline leftbline'>
                            销售价
                        </td>
                        <td width="80" class='bline leftbline'>
                            市场价
                        </td>
                        <td width="80" class='bline leftbline'>
                            数量
                        </td>
                        <td width="80" class='bline leftbline'>
                            单品总价
                        </td>
                    </tr>
                    <asp:Repeater ID="Repeater1" runat="server">
                    <ItemTemplate>
                    <tr>
                        <td class='bline' height="26">
                            <%#Eval("ProductId") %>
                        </td>
                        <td class='bline' height="26">
                            <%#Eval("ProductName") %>
                        </td>
                        <td class='bline' height="26">
                            <%#Eval("ProductDesc") %>
                        </td>
                        <td class='bline leftbline'>
                            <%#decimal.Parse(Eval("SalePrice").ToString()).ToString("f2") %>
                        </td>
                        <td class='bline leftbline'>
                            <%#decimal.Parse(Eval("RealPrice").ToString()).ToString("f2") %>
                        </td>
                        <td class='bline leftbline'>
                            <%#Eval("ProductNum") %>
                        </td>
                        <td class='bline leftbline'>
                            <%#decimal.Parse(Eval("TotalPrice").ToString()).ToString("f2") %>
                        </td>
                    </tr>
                    </ItemTemplate>
                    </asp:Repeater>
                </table>
                <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#F9FCEF"
                    style="border: 1px solid #cfcfcf; border-top: none;">
                    <tr>
                        <td width="1%" height="35">
                        </td>
                        <td width="99%" valign="bottom">
                            &nbsp;&nbsp;<a href="Orders.aspx"><img src="../images/button_back.gif" width="60"
                                height="22" border="0" /></a>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
